﻿<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title>Jeesuite开发框架统一管理平台</title>
<link rel="stylesheet" href="${path}/css/lib.css">
<link rel="stylesheet" href="${path}/css/commons.css">
<link rel="stylesheet" href="${path}/css/pintuer.css">
<link rel="stylesheet" href="${path}/css/admin.css">
<script src="${path}/js/lib.js"></script>
<script src="${path}/js/commons.js"></script>
</head>

<body>
	<div class="lefter">
		<div class="logo">
			<a href="http://www.jeesuite.com/" target="_blank"><span class="text-main text-big">Jeesuite Admin</span></a>
		</div>
	</div>
	<div class="righter nav-navicon" id="admin-nav">
		<div class="mainer">
			<div class="admin-navbar">
				<span class="float-right"> 
				 <a class="button button-little bg-yellow" href="login.html">注销登录</a>
				</span>
				<ul class="nav nav-inline admin-nav">
					<li menu-key="kafka" class="active"><a href="index.html"
						class="icon-home">Kafka</a>
						<ul menu-parent="kafka">
							<li><a target="rightContainer" href="./kafka/brokers/${env}">服务器</a></li>
							<li><a target="rightContainer" href="./kafka/producers/${env}">生产者</a></li>
							<li><a target="rightContainer" href="./kafka/consumers/${env}">消费者</a></li>
						</ul>
					</li>
					<li menu-key="scheduler"><a href="javascript:;"
						class="icon-th-list">Scheduler</a>
						<ul menu-parent="scheduler">
							<li><a target="rightContainer" href="./scheduler/list/${env}">定时任务列表</a></li>
						</ul>
						</li>
					<li menu-key="confcenter"><a href="javascript:;"
						class="icon-th-list">ConfCenter</a>
						<ul menu-parent="confcenter">
							<li><a target="rightContainer" href="./confcenter/queryconf">查看配置</a></li>
							<li><a target="rightContainer" href="./confcenter/addapp">添加应用</a></li>
							<li><a target="rightContainer" href="./confcenter/addconf">添加配置</a></li>
						</ul>
					</li>
					
					<li menu-key="monitor"><a href="javascript:;"
						class="icon-th-list">Monitor</a>
						<ul menu-parent="monitor">
							<li><a target="rightContainer" href="#">http请求监控</a></li>
							<li><a target="rightContainer" href="#">应用监控</a></li>
							<li><a target="rightContainer" href="#">数据库监控</a></li>
							<li><a target="rightContainer" href="#">服务器监控</a></li>
						</ul>
					</li>
				</ul>
			</div>
			<div class="admin-bread">
				<span>您好，admin，欢迎您的光临。</span>
				<ul class="bread">
					<li><a href="${path}/index" class="icon-home"> 开始</a></li>
					<li>首页</li>
				</ul>
			</div>
		</div>
	</div>

	<div class="admin">
		<iframe src="${path}/main" name="rightContainer" scrolling="no"
			frameborder="0" width="100%" onload="Javascript:SetWinHeight(this)"></iframe>
	</div>
</body>
<script>
	function SetWinHeight(obj) {
		var win = obj;
		if (document.getElementById) {
			var h = 550;
			if (win && !window.opera) {
				if (win.contentDocument
						&& win.contentDocument.body.offsetHeight)
					h = win.contentDocument.body.offsetHeight;
				else if (win.Document && win.Document.body.scrollHeight)
					h = win.Document.body.scrollHeight;
			}
			win.height = h < 550 ? 550 : (h + 25);
		}
	}
	$(document).ready(function() {
		$rc = $('#rightContainer');
		$('.admin-nav li').on('click', function() {
			var $this = $(this);
			if ($this.hasClass('active'))
				return;
			$this.addClass('active').siblings().removeClass('active');
		});
	});
</script>

</html>